contrib-modules-use-dpkg-buildflags
authorDebian OpenLDAP Maintainers <pkg-openldap-devel@lists.alioth.debian.org>
Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)
committerRyan Tandy <ryan@nardis.ca>
Sun, 23 Dec 2018 20:50:40 +0000 (20:50 +0000)
Gbp-Pq: Name contrib-modules-use-dpkg-buildflags

contrib/slapd-modules/autogroup/Makefile
contrib/slapd-modules/lastbind/Makefile
contrib/slapd-modules/passwd/sha2/Makefile
contrib/slapd-modules/smbk5pwd/Makefile

index efd9678eeff17c6d57d69d993ccc1a604038cd8a..a73d84dc66cedaaddf15bbc1e4a166c0bfe27614 100644 (file)
@@ -27,12 +27,12 @@ moduledir = $(libexecdir)$(ldap_subdir)
 .SUFFIXES: .c .o .lo
 
 .c.lo:
-       $(LIBTOOL) --mode=compile $(CC) $(OPT) $(DEFS) $(INCS) -c $<
+       $(LIBTOOL) --mode=compile $(CC) $(OPT) $(CFLAGS) $(CPPFLAGS) $(DEFS) $(INCS) -c $<
 
 all: $(PROGRAMS)
 
 autogroup.la: autogroup.lo
-       $(LIBTOOL) --mode=link $(CC) $(OPT) -version-info $(LTVER) \
+       $(LIBTOOL) --mode=link $(CC) $(OPT) $(LDFLAGS) -version-info $(LTVER) \
        -rpath $(moduledir) -module -o $@ $? $(LIBS)
 
 clean:
index 1745aa8435526f2c35b95abbcebee2c3a000b355..735a15f7e652ced1b0f0531e79030b3c79606da2 100644 (file)
@@ -37,12 +37,12 @@ moduledir = $(libexecdir)$(ldap_subdir)
 .SUFFIXES: .c .o .lo
 
 .c.lo:
-       $(LIBTOOL) --mode=compile $(CC) $(OPT) $(DEFS) $(INCS) -c $<
+       $(LIBTOOL) --mode=compile $(CC) $(OPT) $(CFLAGS) $(CPPFLAGS) $(DEFS) $(INCS) -c $<
 
 all: $(PROGRAMS)
 
 lastbind.la: lastbind.lo
-       $(LIBTOOL) --mode=link $(CC) $(OPT) -version-info $(LTVER) \
+       $(LIBTOOL) --mode=link $(CC) $(OPT) $(LDFLAGS) -version-info $(LTVER) \
        -rpath $(moduledir) -module -o $@ $? $(LIBS)
 
 clean:
index 0abab68f71895f92971687b390983214da856397..91c60b980912ac23af0b4ed21255c4892f6029a6 100644 (file)
@@ -28,12 +28,12 @@ moduledir = $(libexecdir)$(ldap_subdir)
 .SUFFIXES: .c .o .lo
 
 .c.lo:
-       $(LIBTOOL) --mode=compile $(CC) $(OPT) $(DEFS) $(INCS) -c $<
+       $(LIBTOOL) --mode=compile $(CC) $(OPT) $(CFLAGS) $(CPPFLAGS) $(DEFS) $(INCS) -c $<
 
 all:           $(PROGRAMS)
 
 pw-sha2.la:    slapd-sha2.lo sha2.lo
-       $(LIBTOOL) --mode=link $(CC) $(OPT) -version-info $(LTVER) \
+       $(LIBTOOL) --mode=link $(CC) $(OPT) $(LDFLAGS) -version-info $(LTVER) \
        -rpath $(moduledir) -module -o $@ $? $(LIBS)
 
 clean:
index 2f68b704e15bf0e86facaab137e3aad74b053de1..adf9c03fe9d07595eb4aea74b6a879ab97928424 100644 (file)
@@ -46,12 +46,12 @@ moduledir = $(libexecdir)$(ldap_subdir)
 .SUFFIXES: .c .o .lo
 
 .c.lo:
-       $(LIBTOOL) --mode=compile $(CC) $(OPT) $(DEFS) $(INCS) -c $<
+       $(LIBTOOL) --mode=compile $(CC) $(OPT) $(CFLAGS) $(CPPFLAGS) $(DEFS) $(INCS) -c $<
 
 all: $(PROGRAMS)
 
 smbk5pwd.la:   smbk5pwd.lo
-       $(LIBTOOL) --mode=link $(CC) $(OPT) -version-info $(LTVER) \
+       $(LIBTOOL) --mode=link $(CC) $(OPT) $(LDFLAGS) -version-info $(LTVER) \
        -rpath $(moduledir) -module -o $@ $? $(LIBS)
 
 clean: